package com.csu54sher.basereservation.properties;


import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "res.jwt")
public class JWTproperties {
    private String secretKey;//密钥
    private long ttl;//过期时间，默认两小时
    private String tokenName;//前端传回的token名称
}
